﻿@model KCMS.Web.Models.ProductViewModel
@{
    ViewBag.Title = Model.Title;
    ViewBag.Keys = Model.MetaKeys;
    ViewBag.Description = Model.MetaDescription;
}
<div class="clearfix">
    <div itemscope itemtype="http://schema.org/Product">
        <div class="product-image-container">
            @{ Html.RenderAction("ShowImage", "ProductImage", new { productId = Model.Id });}
        </div>
        <div  class="product-title">
            <h2><span itemprop="name">@Model.Title</span><span itemprop="brand"> @Model.Brend.Title</span> @Model.Article</h2>
        </div>
        <div itemprop="description" class="product-description">
            @Html.Raw(Model.Description)
        </div>
        <div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
            <div itemprop="price" class="product-price">
                @Html.DisplayFor(model => Model.Price) руб.
                <meta itemprop="priceCurrency" content="RUB" />
            </div>
        </div>
        @{Html.RenderAction("Show", "ShopForm", new { productId = Model.Id });}
    </div>
</div>
